Position Flags
Bit field of boolean configuration options, indicating which optional
fields to include when assembling POSITION messages.
Longitude, latitude, altitude, speed, heading, and DOP
are always included (also time if GPS-synced)
NOTE: the more fields are included, the larger the message will be -
leading to longer airtime and a higher risk of packet loss
Content copied to clipboard
meshtastic.Config.PositionConfig.PositionFlags
Properties
Link copied to clipboard
Altitude value is MSL
Content copied to clipboard
ALTITUDE_MSL = 2;
Link copied to clipboard
Include an altitude value (if available)
Content copied to clipboard
ALTITUDE = 1;
Link copied to clipboard
Include geoidal separation
Content copied to clipboard
GEOIDAL_SEPARATION = 4;
Link copied to clipboard
Include positional heading
Intended for use with vehicle not walking speeds
walking speeds are likely to be error prone like the compass
Content copied to clipboard
HEADING = 256;
Link copied to clipboard
If POS_DOP set, send separate HDOP / VDOP values instead of PDOP
Content copied to clipboard
HVDOP = 16;
Link copied to clipboard
Include number of "satellites in view"
Content copied to clipboard
SATINVIEW = 32;
Link copied to clipboard
Include a sequence number incremented per packet
Content copied to clipboard
SEQ_NO = 64;
Link copied to clipboard
Include positional speed
Intended for use with vehicle not walking speeds
walking speeds are likely to be error prone like the compass
Content copied to clipboard
SPEED = 512;
Link copied to clipboard
Include positional timestamp (from GPS solution)
Content copied to clipboard
TIMESTAMP = 128;
Link copied to clipboard
Required for compilation
Content copied to clipboard
UNSET = 0;
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun internalGetValueMap(): Internal.EnumLiteMap<ConfigProtos.Config.PositionConfig.PositionFlags>
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): ConfigProtos.Config.PositionConfig.PositionFlags
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.